package edu.strategy.single.scanned;

import robocode.AdvancedRobot;
import robocode.Event;
import edu.strategy.single.Single;

public class CrazyScannedStrategy extends Single{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public CrazyScannedStrategy(AdvancedRobot advancedRobot) {
		super(advancedRobot);
	}

	@Override
	public void prepare() {}
	
	@Override
	public void work() {
		super.used();
		super.getAdvancedRobot().fire(1);
	}

	@Override
	public void work(Event e) {
		work();
	}

	@Override
	public String toString() {
		return "CrazyScannedStrategy";
	}
}
